@import "layout";

body{
    background-color: #fff;
}
header{
    width: 7.211538rem;
    overflow: hidden;
    margin: auto;
    height: .951923rem;
    border-bottom: .009615rem solid #eee;
    div{
        width: 6.576923rem;
        height: .615385rem;
        margin-left: .326923rem;
        margin-top: .173077rem;
        background-color: #f1f1f1;
        border-radius: .298077rem;
        font-size: .269231rem;
        display: flex;
        align-items: center;
        color: #aaa;
        img{
            width: 24px;
            height: 24px;
            margin-left: .269231rem;
            margin-right: .192308rem;
        }
    }
}
section{
    width: 7.211538rem;
    overflow: hidden;
    height: 10.865385rem;
    display: flex;
    .section-left{
        width: 1.519231rem;
        height: 10.865385rem;
        position: absolute;
        left: 0;
        top: .961538rem;
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
        &::-webkit-scrollbar{
            display: none;
        }
        a{
            flex-shrink: 0;
            text-decoration: none;
            width: 1.519231rem;
            height: .903846rem;
            color: #999;
            font-size: 12px;
            font-weight: 400;
            text-align: center;
            line-height: .903846rem;
            position: relative;
            &::before{
                width: .038462rem;
                height: .307692rem;
                content: '';
                display: none;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                left: 0;
                background-color: #ff6700;
            }
            &:hover{
                font-size: 14px;
                font-weight: 800px;
                color: #333;
                &::before{
                    display: block;
                }
            }
        }
    }
    .section-right{
        width: 5.057692rem;
        height: 10.865385rem;
        position: absolute;
        right: 0;
        top: .961538rem;
        overflow-y: scroll;
        .section-one{
            .banner{
                width: 4.903846rem;
                height: 1.471154rem;
                border-radius: .096154rem;
                overflow: hidden;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .header{
                width: 5.048077rem;
                height: .630769rem;
                margin-top: .3rem;
                span{
                    font-size: .269231rem;
                    font-weight: 700;
                    color: #333;
                }
            }
            .center{
                width: 100%;
                height: 4.726923rem;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                .box{
                    width: 100%;
                    height: 1.473077rem;
                    background-color: #fafafa;
                    border-radius: 4px;
                    display: flex;
                    align-items: center;
                    img{
                        width: 1.326923rem;
                        height: 1.326923rem;
                    }
                    div{
                        display: flex;
                        flex-direction: column;
                        font-size: .269231rem;
                        color: #333;
                    }
                }
            }
            .buttom{
                width: 5.050635rem;
                height: 8.192308rem;
                padding-bottom: .5rem;
                display: flex;
                flex-wrap: wrap;
                .box{
                    width: 1.682692rem;
                    height: 1.548077rem;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    align-items: center;
                    img{
                        width: 1rem;
                        height: 1rem;
                    }
                    span{
                        font-size: 14px;
                        color: #999;
                    }
                }
            }
        }
        .section-two{
            .banner{
                width: 4.903846rem;
                height: 1.471154rem;
                border-radius: .096154rem;
                overflow: hidden;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .header{
                width: 5.048077rem;
                height: .630769rem;
                margin-top: .3rem;
                border-bottom: .009615rem solid #f1f1f1;
                display: flex;
                justify-content: flex-start;
                overflow-x: scroll;
                align-items: center;
                a{
                    flex-shrink: 0;
                    font-size: .269231rem;
                    font-weight: 500;
                    color: #999;
                    text-decoration: none;
                    margin-right: .326923rem;
                    &:hover{
                        background-color: #eee;
                    }
                }
            }
            .center{
                margin-top: .307692rem;
                width: 100%;
                height: 12.067308rem;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                > span {
                    font-size: 14px;
                    font-weight: 800;
                    color: #000;
                }
                .box{
                    width: 100%;
                    height: 1.473077rem;
                    background-color: #fafafa;
                    border-radius: 4px;
                    display: flex;
                    align-items: center;
                    img{
                        width: 1.326923rem;
                        height: 1.326923rem;
                    }
                    div{
                        display: flex;
                        flex-direction: column;
                        font-size: .269231rem;
                        color: #333;
                    }
                }
            }
            .buttom{
                width: 5.050635rem;
                height: 8.192308rem;
                padding-bottom: .5rem;
                display: flex;
                flex-wrap: wrap;
                .box{
                    width: 1.682692rem;
                    height: 1.548077rem;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    align-items: center;
                    img{
                        width: 1rem;
                        height: 1rem;
                    }
                    span{
                        font-size: 14px;
                        color: #999;
                    }
                }
            }
        }
    }  
}
footer{
    width: 7.211538rem;
    overflow: hidden;
    height: 1rem;
    position: fixed;
    bottom: 0;
    background-color: #fff;
    display: flex;
    a{
        width: 20%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: .230769rem;
        text-decoration: none;
        color: #aaa;
        position: relative;
        &:hover{
            color: #ff6700;
            img{
                &:nth-child(2){
                    display: block;
                }
                &:first-child{
                    visibility: hidden;
                }
            }
        }
        img{
            width: 20px;
            height: 20px;
            &:nth-child(2){
                position: absolute;
                top: .153846rem;
                display: none;
            }
        }
        &:nth-child(2){
            color: #ff6700;
            img{
                &:nth-child(2){
                    display: block;
                }
                &:first-child{
                    visibility: hidden;
                }
            }
        }
    }
}